package com.caiju.health.mapper;

import com.caiju.health.dto.WorkCountDTO;
import com.caiju.health.pojo.CheckItem;
import com.caiju.health.pojo.File;
import com.caiju.health.pojo.Member;
import org.apache.ibatis.annotations.Param;
import org.mapstruct.Mapper;

import java.util.HashMap;
import java.util.List;

//又是一个规范，作用就是编写sql 操作数据库
@Mapper
public interface IMemberMapper {
    Integer findMemberCountByMonths(HashMap<Object, Object> hashMap);

    Integer findWorkCountByStatus(WorkCountDTO dto);

    List<Member> findCondition(@Param("queryString") String queryString);

    void uploadFile(@Param("fileUrl") String fileUrl);

    List<File> findFileCondition(String queryString);

    void deleteFile(Integer id);
}
